package com.baogu.factoryjob.service;


import com.baogu.model.database.SensorWarning;
import com.baogu.model.database.where.SensorWarningWhere;

import java.util.List;

public interface SensorWarningService {

    /**
     * 保存终端警告数据
     * @param sensorWarning
     * @return
     */
    Integer saveData(SensorWarningWhere sensorWarning);

    /**
     * 根据条件获取列表
     * @param where
     * @return
     */
    List<SensorWarning> getSensorDataList(SensorWarningWhere where);
}
